﻿using System;

namespace MDrive.ViewModels
{
    public class MDriveParameterViewModel : ViewModelBase
    {
        public MDriveParameterViewModel(String symbol, String label, Boolean command = false)
        {
            Symbol = symbol;
            Label = label;
            Command = command;
        }

        private String _label;
        public String Label
        {
            get { return _label; }
            set { SetProperty(ref _label, value); }
        }

        private String _symbol;
        public String Symbol
        {
            get { return _symbol; }
            set { SetProperty(ref _symbol, value); }
        }

        private int _readValue;
        public int ReadValue
        {
            get { return _readValue; }
            set { SetProperty(ref _readValue, value); }
        }

        private int _sendValue;
        public int SendValue
        {
            get { return _sendValue; }
            set { SetProperty(ref _sendValue, value); }
        }

        private Boolean _command;
        public Boolean Command
        {
            get { return _command; }
            set { SetProperty(ref _command, value); }
        }

        private Boolean _sendRequest;
        public Boolean SendRequest
        {
            get { return _sendRequest; }
            set { SetProperty(ref _sendRequest, value); }
        }
    }
}
